package com.promise.jokerdream.response.pc

import com.promise.jokerdream.model.knight.KnightDreamEventModel
import kotlinx.serialization.Serializable

// 侠士长梦挑战回包
@Serializable
data class FightKnightDreamResponse(
    override val result: Int,
    override val msg: String = "",
    // 当前进度
    val curDays: Int = 0,
    // 结束进度，当前进度大于结束进度即可结束
    val maxDays: Int = 0,
    // 副本id
    val copyId: Int = 0,
    // 事件列表
    val eventList: List<KnightDreamEventModel> = emptyList(),
    // 是否选择了事件
    val choose: Int = 0,
    // 0为存活、1为阵亡
    val win: Int = 0,
    // 奇遇列表
    val eventChoose: List<FightKnightDreamChoose> = emptyList()
) : BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

@Serializable
data class FightKnightDreamChoose(
    val desc: String = ""
)
